package com.wjc.train.business.repository;

import com.wjc.train.business.entity.DailyTrainSeat;
import com.wjc.train.business.mapper.DailyTrainSeatMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.DailyTrainSeatQueryReq;
import com.wjc.train.business.resp.DailyTrainSeatQueryResp;

/**
 * <p>
 * 每日座位表 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-08
 */
@Repository
public class DailyTrainSeatRepository extends ServiceImpl<DailyTrainSeatMapper, DailyTrainSeat> implements IService<DailyTrainSeat>  {

   public IPage<DailyTrainSeatQueryResp> queryList(IPage<DailyTrainSeatQueryResp> page, DailyTrainSeatQueryReq dailytrainseatQueryReq) {
        return baseMapper.queryList(page,dailytrainseatQueryReq);
    }
}